package itdep.common.services;

import itdep.common.domain.Entity;
import itdep.common.domain.EntityFilter;

import java.io.Serializable;

/**
 * @author Ivan Khalopik
 * @version $Revision: 4 $ $Date: 2010-06-10 13:13:16 +0000 (Thu, 10 Jun 2010) $
 */
public interface MutableEntityService<PK extends Serializable, E extends Entity<PK>, F extends EntityFilter<PK>>
		extends EntityService<PK, E, F> {

	E create();

	void save(final E entity);

	void update(final E entity);

	void merge(final E entity);

	void delete(final E entity);

}
